package com.his.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the HIS_MEDICAL_CARD database table.
 * 
 */
@Entity
@Table(name="HIS_MEDICAL_CARD")
@NamedQuery(name="HisMedicalCard.findAll", query="SELECT h FROM HisMedicalCard h")
public class HisMedicalCard implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="YLK_NO")
	private long ylkNo;

	@Column(name="BR_ADDRESS")
	private String brAddress;

	@Column(name="BR_AGE")
	private BigDecimal brAge;

	@Column(name="BR_IDCARD")
	private String brIdcard;

	@Column(name="BR_NAME")
	private String brName;

	@Column(name="BR_SEX")
	private String brSex;

	public HisMedicalCard() {
	}

	public long getYlkNo() {
		return this.ylkNo;
	}

	public void setYlkNo(long ylkNo) {
		this.ylkNo = ylkNo;
	}

	public String getBrAddress() {
		return this.brAddress;
	}

	public void setBrAddress(String brAddress) {
		this.brAddress = brAddress;
	}

	public BigDecimal getBrAge() {
		return this.brAge;
	}

	public void setBrAge(BigDecimal brAge) {
		this.brAge = brAge;
	}

	public String getBrIdcard() {
		return this.brIdcard;
	}

	public void setBrIdcard(String brIdcard) {
		this.brIdcard = brIdcard;
	}

	public String getBrName() {
		return this.brName;
	}

	public void setBrName(String brName) {
		this.brName = brName;
	}

	public String getBrSex() {
		return this.brSex;
	}

	public void setBrSex(String brSex) {
		this.brSex = brSex;
	}

}